package cn.wolfcode.crm.mapper;

import cn.wolfcode.crm.domain.DataDictionary;
import cn.wolfcode.crm.domain.SpendPoint;
import cn.wolfcode.crm.query.DictionaryQueryObject;
import cn.wolfcode.crm.query.QueryObject;
import cn.wolfcode.crm.query.SpendPointQueryObject;

import java.util.List;

public interface SpendPointMapper {
    int deleteByPrimaryKey(Long id);

    int insert(SpendPoint record);

    SpendPoint selectByPrimaryKey(Long id);

    List<SpendPoint> selectAll();

    int updateByPrimaryKey(SpendPoint record);

    SpendPoint selectByName(String name);

    Long selectBySn(SpendPointQueryObject qo);
}